﻿// Copyright (c) Vitaly Kamiansky. All rights reserved. 
// See License.txt in the project root.

using System;

namespace Property
{
    public interface IWorker<T> : IDisposable
    {
        void Go();

        bool IsRunning { get; }

        event EventHandler Finished;

        T Result { get; }

        Exception Exception { get; }
    }
}
